package com.usian.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.media.pojos.WmNewsMaterial;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface WmNewMateriaMapper  extends BaseMapper<WmNewsMaterial> {

    void saveRelationsByContent(@Param("materials") List<String> materials, @Param("newsId") Integer newsId, @Param("type") Short type);

}
